import urllib.request

# 下载
url_page = 'http://www.baidu.com'
url_img = 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png'
url_video = 'https://vd2.bdstatic.com/mda-pjw5bziytajtrgt6/sc/cae_h264/1698727125421244311/mda-pjw5bziytajtrgt6.mp4'

# url代表下载的路径 filename文件名称
urllib.request.urlretrieve(url_page, '../temp/baidu.html')
urllib.request.urlretrieve(url=url_img, filename='../temp/baidu.png')
urllib.request.urlretrieve(url_video, '../temp/神州16.mp4')

